package com.miaosha.entity.dto;

import com.miaosha.entity.Role;
import com.miaosha.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserDto extends User {
    public List<Role> roles;
}
